﻿//  -------------------- iSharePoint -------------------- //
// 
//  Company:	IT Complex, LLC
//  Project:	Smart.Common
//  File name:	MetaFormControl.cs
//  Developer:	Solomatov Igor
//  Created:	15.04.2012
// 
//  -------------------- iSharePoint -------------------- //

namespace Smart.Common.Forms
{
	/// <summary>
	/// Form generic control metadata
	/// </summary>
	public class MetaFormControl : MetaFormCtrl
	{
		/// <summary>
		/// WebControl (definition, used in ParseControl)
		/// </summary>
		public string WebControl { get; set; }

		/// <summary>
		/// WebControl server prefix
		/// </summary>
		public string WebTagPrefix { get; set; }

		/// <summary>
		/// WebControl server namespace
		/// </summary>
		public string WebTagNamespace { get; set; }

		/// <summary>
		/// UserControl (path, used in LoadControl)
		/// </summary>
		public string UserControl { get; set; }

		/// <summary>
		/// Flag whether control is works as field
		/// </summary>
		public bool IsField { get; set; }

		/// <summary>
		/// Form generic control metadata
		/// </summary>
		public MetaFormControl()
			: base(null, null)
		{
		}
	}
}